﻿using FluentScheduler;
using InventoryToPredictAPI.Util;

namespace InventoryToPredictAPI
{
    /// <summary>
    /// 系统注册定时任务
    /// </summary>
    public class RegistryFluentScheduler : Registry
    {
        public RegistryFluentScheduler()
        {
            //每天早上8点自动执行<同步回货计划>任务
            Schedule<ReturPlanJob>().ToRunEvery(1).Days().At(8, 30);
        }
    }
}
